﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using System.ComponentModel;

namespace OpenESSOConfigurator.BusinessLayer.Atoms
{
    [Serializable]
    public class Lenght
    {
        private bool _checkMin;
        private int _minValue;
        private bool _checkMax;
        private int _maxValue;

        [XmlAttribute("checkMin")]
        public bool CheckMin
        {
            get { return _checkMin; }
            set { _checkMin = value; }
        }
        [XmlAttribute("minValue")]
        public int MinValue
        {
            get { return _minValue; }
            set { _minValue = value; }
        }
        [XmlAttribute("checkMax")]
        public bool CheckMax
        {
            get { return _checkMax; }
            set { _checkMax = value; }
        }
        [XmlAttribute("maxValue")]
        public int MaxValue
        {
            get { return _maxValue; }
            set { _maxValue = value; }
        }

    }
}
